package org.dromara.common.core.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 缓存 label 事件
 *
 * @author lus
 */
@Getter
public class CacheLabelEvent extends ApplicationEvent {

    private final String cacheName;
    private final String key;

    public CacheLabelEvent(Object source, String message, String key) {
        super(source);
        this.cacheName = message;
        this.key = key;
    }

}
